package org.ruoyi.graph2.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.ruoyi.graph2.domain.GraphBase;

import java.io.Serializable;
import java.util.Date;


/**
 * 图谱基础信息表视图对象 graph_base
 *
 * @author ageerle
 * @date Tue Nov 18 15:28:04 CST 2025
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = GraphBase.class)
public class GraphBaseVo implements Serializable {

    private Long id;
    /**
     * 租户编号
     */
    @ExcelProperty(value = "租户编号")
    private String tenantId;
    /**
     * 图谱UUID
     */
    @ExcelProperty(value = "图谱UUID")
    private String graphGroup;
    /**
     * 图谱名称
     */
    @ExcelProperty(value = "图谱名称")
    private String graphTitle;
    /**
     * 总节点数
     */
    @ExcelProperty(value = "总节点数")
    private Integer totalNodes;
    /**
     * 总关系数
     */
    @ExcelProperty(value = "总关系数")
    private Integer totalRelationships;
    /**
     * 节点类型分布(JSON格式)
     */
    @ExcelProperty(value = "节点类型分布(JSON格式)")
    private String nodeTypeDistribution;
    /**
     * 关系类型分布(JSON格式)
     */
    @ExcelProperty(value = "关系类型分布(JSON格式)")
    private String relationTypeDistribution;
    /**
     * 创建者
     */
    @ExcelProperty(value = "创建者")
    private Long createBy;
    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;
    /**
     * 更新者
     */
    @ExcelProperty(value = "更新者")
    private Long updateBy;
    /**
     * 更新时间
     */
    @ExcelProperty(value = "更新时间")
    private Date updateTime;

}
